package cn.sirun.com.fca.car.status.view;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;

import com.tencent.cloud.iov.flow.view.IContentViewContainer;
import com.tencent.cloud.iov.util.ResourcesUtils;
import com.tencent.cloud.uikit.utils.SystemUiUtils;

import cn.sirun.com.fca.car.status.R;
import cn.sirun.com.fca.car.status.presenter.ICarStatusPresenter;


public class CarWarningHistoryFlowView extends CarStatusBaseLoadingFlowView {



    public CarWarningHistoryFlowView(Activity activity) {
        super(activity);
    }

    public CarWarningHistoryFlowView(Activity activity, IContentViewContainer container) {
        super(activity, container);

    }
    @Override
    public void onCreate() {
        super.onCreate();

        View view = LayoutInflater.from(getContext())
                .inflate(R.layout.car_status_warn_history_activity, null, false);
        setContentView(view);
        setUpActionBar();
    }

    private void setUpActionBar() {
        final Activity activity = getActivity();
        SystemUiUtils.showActionBar(
                activity, ResourcesUtils.getString(R.string.car_status_warn_history),
                ResourcesUtils.getDrawable(R.color.white));
    }

    @Override
    protected ICarStatusPresenter createPresenter() {
        return null;
    }
}
